<?php
/* @var $this RegHealthPolicyNonController */
/* @var $model RegHealthPolicyNon */
?>

<?php
$this->breadcrumbs=array(
	'Reg Health Policy Nons'=>array('index'),
	$model->id,
);


?>

<h1>View Non Health Policy Registration #<?php echo $model->id; ?></h1>

<?php $this->widget('zii.widgets.CDetailView',array(
    'htmlOptions' => array(
        'class' => 'table table-striped table-condensed table-hover',
    ),
    'data'=>$model,
    'attributes'=>array(
		'id',
		array(
			'name'=>'mst_client_id',
			'value'=>MstClient::model()->findByPk($model->mst_client_id)->name,
			),
		array(
			'name'=>'mst_jns_asuransi_id',
			'value'=>MstJnsAsuransi::model()->findByPk($model->mst_jns_asuransi_id)->name,
			),
		array(
			'name'=>'mst_perusahaan_asuransi_id',
			'value'=>MstPerusahaanAsuransi::model()->findByPk($model->mst_perusahaan_asuransi_id)->name,
			),
		'policy_no',
		array(
			'name'=>'mst_marketing_id',
			'value'=>MstMarketing::model()->findByPk($model->mst_marketing_id)->name,
			),
		array(
			'name'=>'start_periode',
			'value'=>date('d-m-Y',strtotime($model->start_periode)),
			),
		array(
			'name'=>'end_periode',
			'value'=>date('d-m-Y',strtotime($model->end_periode)),
			),
		array(
			'name'=>'mst_currency_id',
			'value'=>MstCurrency::model()->findByPk($model->mst_currency_id)->name,
			),
		'jml_installment',
		'remarks',
		'insured_object',
		'address',
		array(
			'name'=>'province_id',
			'value'=>MstPropinsi::model()->findByPk($model->province_id)->nm_propinsi,
			),
		array(
			'name'=>'city_id',
			'value'=>MstCity::model()->findByPk($model->city_id)->nm_city,
			),
		'sum_insured',
	),
)); ?>